﻿using EFCore.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIService
{
    public interface OutboundSI
    {
        //出库表4个条件分页查询
        Task<List<PO_Outbound>> Fye(int pageSize, int currentPage, string Number = null, string Type = null, string Status = null, string WName = null);
        //查询总条数
        Task<List<PO_Outbound>> Qu();
        //根据销售订单查询数据不查已出库和未审核的
        Task<List<PO_Salesorder>> Xsqu();
        //根据销售订单查询数据只查已出库，销售退货
        Task<List<PO_Salesorder>> Xsqu1();
        //出库管理添加数据
        Task<int> Add(PO_Outbound pO_Outbound);
        //出库管理审核
        Task<int> CkShen(PO_Outbound pO_Outbound, string to);
        //出库时修改销售订单时已入库还是部分入库
        Task<int> Upd(PO_Salesorder pO_Salesorder);
        //出库管理批量删除
        Task<int> CkDel(List<int> Ids);
        //出库管理的修改
        Task<int> Upd1(PO_Outbound pO_Outbound);
    }
}
